/*
 *
 * Copyright (C) 2019 Zealcomm Inc. (https://www.zealcomm.com)
 *
*/
#ifndef IRTC_BASE_OBJC_IRTCLEGACYSTATSREPORT_H_
#define IRTC_BASE_OBJC_IRTCLEGACYSTATSREPORT_H_

#import <Foundation/Foundation.h>

#import <IRTC/IRTCMacros.h>

NS_ASSUME_NONNULL_BEGIN

/** This does not currently conform to the spec. */
IRTC_OBJC_EXPORT
@interface IRTCLegacyStatsReport : NSObject

/** Time since 1970-01-01T00:00:00Z in milliseconds. */
@property(nonatomic, readonly) CFTimeInterval timestamp;

/** The type of stats held by this object. */
@property(nonatomic, readonly) NSString *type;

/** The identifier for this object. */
@property(nonatomic, readonly) NSString *reportId;

/** A dictionary holding the actual stats. */
@property(nonatomic, readonly) NSDictionary<NSString *, NSString *> *values;

- (instancetype)init NS_UNAVAILABLE;

@end

NS_ASSUME_NONNULL_END

#endif // IRTC_BASE_OBJC_IRTCLEGACYSTATSREPORT_H_